package service

import (
	v1 "gin-admin/service/v1"
	v2 "gin-admin/service/v2"
)

type ServiceApp struct {
	ServiceAppV1 v1.ServiceAppV1
	ServiceAppV2 v2.ServiceAppV2
}

func NewServiceApp() *ServiceApp {
	return &ServiceApp{
		ServiceAppV1: *v1.NewServiceApp(),
		ServiceAppV2: *v2.NewServiceApp(),
	}
}
